package com.aopeng.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 谢辉
 * @description 首页控制器
 * @data 2020/7/12
 */
@Controller
@RequestMapping("/index")
public class IndexController {

    //返回到登录页
    @GetMapping
    public String indexPage(){
        return "admin/login";
    }
}
